#pragma once
#include<iostream>
#include<assert.h>
using namespace std;

class Date
{
public:
	Date(int year = 1900, int month = 1, int day = 1);
	void Print();
	bool operator<(const Date& d);
	bool operator==(const Date& d);
	Date& operator=(const Date& d);
	bool operator<=(const Date& d);
	bool operator>(const Date& d);
	bool operator>=(const Date& d);
	bool operator!=(const Date& d);
	int GetMOnthDay(int month, int year);
	Date& operator+=(int day);
	Date operator+(int day);
	Date operator++();
	Date operator++(int);


private:
	int _year;
	int _month;
	int _day;
};